﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_ICM_PurchaseOrder
    {
        private int ICM_PO_SEQ;
        private Nullable<int> ICM_BIDDER_SEQ;
        private string ICM_PO_GFMIS;
        private string ICM_PO_REF_NO;
        private string ICM_PO_NAME;
        private string ICM_PO_DESCR;
        private string CAN_INSTALLMENT;
        private Nullable<double> PREPAY_AMOUNT;
        private Nullable<double> REDEMPTION_PERCENT;
        private Nullable<int> BGM_YEAR;
        private Nullable<int> ICM_CON_SEQ;
        private string ICM_CON_NAME;
        private Nullable<int> CONTACT_SEQ;

        private string RECORD_STATUS;

        public M_ICM_PurchaseOrder()
        {

        }

        public M_ICM_PurchaseOrder(
            int ICM_PO_SEQ
            , Nullable<int> ICM_BIDDER_SEQ
            , string ICM_PO_GFMIS
            , string ICM_PO_REF_NO
            , string ICM_PO_NAME
            , string ICM_PO_DESCR
            , string CAN_INSTALLMENT
            , Nullable<double> PREPAY_AMOUNT
            , Nullable<double> REDEMPTION_PERCENT
            , Nullable<int> BGM_YEAR
            , Nullable<int> ICM_CON_SEQ
            , string ICM_CON_NAME
            , Nullable<int> CONTACT_SEQ

            , string RECORD_STATUS)
        {
            this.ICM_PO_SEQ = ICM_PO_SEQ;
            this.ICM_BIDDER_SEQ = ICM_BIDDER_SEQ;
            this.ICM_PO_GFMIS = ICM_PO_GFMIS;
            this.ICM_PO_REF_NO = ICM_PO_REF_NO;
            this.ICM_PO_NAME = ICM_PO_NAME;
            this.ICM_PO_DESCR = ICM_PO_DESCR;
            this.CAN_INSTALLMENT = CAN_INSTALLMENT;
            this.PREPAY_AMOUNT = PREPAY_AMOUNT;
            this.REDEMPTION_PERCENT = REDEMPTION_PERCENT;
            this.BGM_YEAR = BGM_YEAR;
            this.ICM_CON_SEQ = ICM_CON_SEQ;
            this.ICM_CON_NAME = ICM_CON_NAME;
            this.CONTACT_SEQ = CONTACT_SEQ;
            this.RECORD_STATUS = RECORD_STATUS;
        }

        public int icm_po_seq
        {
            set { ICM_PO_SEQ = value; }
            get { return ICM_PO_SEQ; }
        }

        public Nullable<int> icm_bidder_seq
        {
            set { ICM_BIDDER_SEQ = value; }
            get { return ICM_BIDDER_SEQ; }
        }

        public string icm_po_gfmis
        {
            set { ICM_PO_GFMIS = value; }
            get { return ICM_PO_GFMIS; }
        }

        public string icm_po_ref_no
        {
            set { ICM_PO_REF_NO = value; }
            get { return ICM_PO_REF_NO; }
        }

        public string icm_po_name
        {
            set { ICM_PO_NAME = value; }
            get { return ICM_PO_NAME; }
        }

        public string icm_po_descr
        {
            set { ICM_PO_DESCR = value; }
            get { return ICM_PO_DESCR; }
        }

        public string can_installment
        {
            set { CAN_INSTALLMENT = value; }
            get { return CAN_INSTALLMENT; }
        }

        public Nullable<double> prepay_amount
        {
            set { PREPAY_AMOUNT = value; }
            get { return PREPAY_AMOUNT; }
        }

        public Nullable<double> redemption_percent
        {
            set { REDEMPTION_PERCENT = value; }
            get { return REDEMPTION_PERCENT; }
        }

        public Nullable<int> bgm_year
        {
            set { BGM_YEAR = value; }
            get { return BGM_YEAR; }
        }

        public Nullable<int> icm_con_seq
        {
            set { ICM_CON_SEQ = value; }
            get { return ICM_CON_SEQ; }
        }

        public string icm_con_name
        {
            set { ICM_CON_NAME = value; }
            get { return ICM_CON_NAME; }
        }

        public Nullable<int> contact_seq
        {
            set { CONTACT_SEQ = value; }
            get { return CONTACT_SEQ; }
        }

        public string record_status
        {
            set { RECORD_STATUS = value; }
            get { return RECORD_STATUS; }
        }
    }
}
